package com.example.day0702;

/**
 * @author Lenovo
 */
public class StudentDemo {
    public static void main(String[] args) {
        Student s = new Student();
        s.name = "张三";
//        s.age = 18;
//        s.age = -18;
        s.setAge(30);
        s.show();
    }
}
